package handler

import (
	. "starsine.cn/appTpl/cmn/defs"
	"starsine.cn/appTpl/cmn/logs"
)

var svcHandle *SvcHandler = nil

func Start(appCtxt *AppContext) {

	svcHandle = CreateSvcHandler(appCtxt)
	svcHandle.Start()

	logs.Infof("registry.handler start")
}

func GetInstanceID() string {
	return svcHandle.instanceID
}
